package com.itjob.scott.student.dao;

import com.itjob.scott.student.entity.StudentEntity;

public interface StudentDao {

	int queryStudentByUsernameAndPassword(StudentEntity entity);
	
	int queryStudentByUsername(String username);
	
	//得到id
	int getNewStudentId();
	
	//插入数据到主表
	void insertStudentEntity(StudentEntity entity);
	
	//插入数据到关系表
	void insertStudentAndLanguageRelationship(StudentEntity entity);
	
}
